package com.junjun.ssm.servilce;

import com.junjun.ssm.entity.NewsEntity;
import com.junjun.ssm.entity.NewsEs;

import java.util.List;

public interface INewsService {


    void add(String userid, String title, String author, String info, String createDate);

    List<NewsEntity> selectAll(String queryInfo);

    NewsEs queryEsById(String id);

    void deleteById(String id);
}
